home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / tool / dolmorph / src / morph.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-28  |  631 b   |  28 lines

  1. #define    ERROR_NOMEMORY        (-1)
  2. #define    ERROR_CANNOTOPEN    (-2)
  3. #define    ERROR_INVALIDFORMAT    (-3)
  4. #define    ERROR_DISKFULL        (-4)
  5. #define    ERROR_INVALIDPIXELSIZE    (-5)
  6. #define    ERROR_OTHER            (-100)
  7.  
  8. #define    WHITE    15
  9. #define    BLACK    8
  10. #define    WINBACK    6
  11. #define    RED        10
  12. #define    GRAY    7
  13.  
  14. #define    XOR        4        /* 描画モード */
  15.  
  16. #define    COLORMODE    0
  17.  
  18. #define    MORPH_PIXELSIZE        16
  19.  
  20. #ifndef    MODULE_MAIN
  21.     extern    char    *guiEgbPtr ;            /*    EGB のワークアドレス    */
  22. #endif
  23.  
  24. #define    _iskanji(c)    (((c)&0xff) >= 0x81 && ((c)&0xff)<=0x9f || \
  25.                      ((c)&0xff) >= 0xe0 && ((c)&0xff)<=0xfc)
  26.  
  27. #define    _iskanji1(kcode)    ((((kcode)>>8)&0xff) <= 0x97)
  28.